package tech.aistar.service.registerAndLogin;

import org.apache.ibatis.annotations.Param;
import tech.aistar.entity.User.Register;
import tech.aistar.entity.authordis.UserTable;

/**
 * Created by lenovo on 2019/9/27.
 */
public interface IUserRegisterService {
    UserTable findByPhone(String phone);
    void insert(@Param("phone")String phoneNumber, @Param("password")String password,@Param("email")String email, @Param("code")String ver_code);
    Register findByCode(@Param("code") String ver_code,@Param("phone")String phoneNumber);
    void insertuser(@Param("username")String username,@Param("phone")String phoneNumber,@Param("password")String password);
    void insertNotes(Integer user_id);
    Integer findId(String phone);
}
